/*
 *
 * Copyright 2021-2025 Software Radio Systems Limited
 *
 * This file is part of srsRAN.
 *
 * srsRAN is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of
 * the License, or (at your option) any later version.
 *
 * srsRAN is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * A copy of the GNU Affero General Public License can be found in
 * the LICENSE file in the top-level directory of this distribution
 * and at http://www.gnu.org/licenses/.
 *
 */

#pragma once

// This file was generated using the following MATLAB class on 03-09-2024 (seed 0):
//   + "srsPRACHDetectorUnittest.m"

#include "../../support/prach_buffer_test_doubles.h"
#include "srsran/phy/upper/channel_processors/prach_detector.h"
#include "srsran/support/file_vector.h"

namespace srsran {

using sequence_data_type =
    file_tensor<static_cast<unsigned>(prach_buffer_tensor::dims::count), cf_t, prach_buffer_tensor::dims>;

struct context_t {
  prach_detector::configuration config;
  phy_time_unit                 true_delay;
  prach_detection_result        result;
};

struct test_case_t {
  context_t          context;
  sequence_data_type symbols;
};

static const std::vector<test_case_t> prach_detector_test_data = {
    // clang-format off
  {{{834, to_prach_format_type("0"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 1}, phy_time_unit::from_seconds(1.3393e-06), {3.0457, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{57, phy_time_unit::from_seconds(1.5625e-06), 16.4352}}}}, {"test_data/prach_detector_test_input0.dat", {839, 1, 1, 1, 1}}},
  {{{334, to_prach_format_type("0"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 2}, phy_time_unit::from_seconds(4.80243e-06), {1.7138, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{52, phy_time_unit::from_seconds(4.6875e-06), 142.8708}}}}, {"test_data/prach_detector_test_input1.dat", {839, 1, 1, 1, 2}}},
  {{{783, to_prach_format_type("0"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 4}, phy_time_unit::from_seconds(7.78555e-07), {1.0401, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{22, phy_time_unit::from_seconds(7.8125e-07), 489.3583}}}}, {"test_data/prach_detector_test_input2.dat", {839, 1, 1, 1, 4}}},
  {{{566, to_prach_format_type("0"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 1}, phy_time_unit::from_seconds(3.5603e-06), {2.8733, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{15, phy_time_unit::from_seconds(3.90439e-06), 1.3899}}}}, {"test_data/prach_detector_test_input3.dat", {839, 1, 1, 1, 1}}},
  {{{95, to_prach_format_type("0"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 2}, phy_time_unit::from_seconds(5.59521e-06), {1.6922, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{7, phy_time_unit::from_seconds(5.51996e-06), 2210.7131}}}}, {"test_data/prach_detector_test_input4.dat", {839, 1, 1, 1, 2}}},
  {{{391, to_prach_format_type("0"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 4}, phy_time_unit::from_seconds(3.26669e-06), {0.89078, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{9, phy_time_unit::from_seconds(2.96763e-06), 9.6279}}}}, {"test_data/prach_detector_test_input5.dat", {839, 1, 1, 1, 4}}},
  {{{393, to_prach_format_type("1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 1}, phy_time_unit::from_seconds(4.48846e-06), {3.1347, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{7, phy_time_unit::from_seconds(4.6875e-06), 47.6805}}}}, {"test_data/prach_detector_test_input6.dat", {839, 2, 1, 1, 1}}},
  {{{791, to_prach_format_type("1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 2}, phy_time_unit::from_seconds(4.67271e-06), {1.8114, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{4, phy_time_unit::from_seconds(4.6875e-06), 327.1021}}}}, {"test_data/prach_detector_test_input7.dat", {839, 2, 1, 1, 2}}},
  {{{974, to_prach_format_type("1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 4}, phy_time_unit::from_seconds(1.85079e-06), {0.94753, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{52, phy_time_unit::from_seconds(1.5625e-06), 269.8108}}}}, {"test_data/prach_detector_test_input8.dat", {839, 2, 1, 1, 4}}},
  {{{532, to_prach_format_type("1"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 1}, phy_time_unit::from_seconds(4.06865e-06), {3.0271, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{21, phy_time_unit::from_seconds(4.05989e-06), 716.2814}}}}, {"test_data/prach_detector_test_input9.dat", {839, 2, 1, 1, 1}}},
  {{{907, to_prach_format_type("1"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 2}, phy_time_unit::from_seconds(4.61801e-06), {1.7595, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{35, phy_time_unit::from_seconds(4.94357e-06), 2.6948}}}}, {"test_data/prach_detector_test_input10.dat", {839, 2, 1, 1, 2}}},
  {{{20, to_prach_format_type("1"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 4}, phy_time_unit::from_seconds(6.18073e-06), {1.0438, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{20, phy_time_unit::from_seconds(5.72668e-06), 4.177}}}}, {"test_data/prach_detector_test_input11.dat", {839, 2, 1, 1, 4}}},
  {{{311, to_prach_format_type("2"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 1}, phy_time_unit::from_seconds(1.32369e-06), {2.9134, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{15, phy_time_unit::from_seconds(1.5625e-06), 28.9283}}}}, {"test_data/prach_detector_test_input12.dat", {839, 4, 1, 1, 1}}},
  {{{987, to_prach_format_type("2"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 2}, phy_time_unit::from_seconds(5.24041e-06), {1.7393, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{1, phy_time_unit::from_seconds(5.46875e-06), 57.4003}}}}, {"test_data/prach_detector_test_input13.dat", {839, 4, 1, 1, 2}}},
  {{{580, to_prach_format_type("2"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 4}, phy_time_unit::from_seconds(1.32347e-06), {0.9652, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{52, phy_time_unit::from_seconds(1.5625e-06), 96.2699}}}}, {"test_data/prach_detector_test_input14.dat", {839, 4, 1, 1, 4}}},
  {{{990, to_prach_format_type("2"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 1}, phy_time_unit::from_seconds(1.80206e-06), {3.0482, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{46, phy_time_unit::from_seconds(1.45262e-06), 2.2128}}}}, {"test_data/prach_detector_test_input15.dat", {839, 4, 1, 1, 1}}},
  {{{45, to_prach_format_type("2"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 2}, phy_time_unit::from_seconds(4.3313e-06), {1.7766, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{43, phy_time_unit::from_seconds(4.10924e-06), 14.5683}}}}, {"test_data/prach_detector_test_input16.dat", {839, 4, 1, 1, 2}}},
  {{{335, to_prach_format_type("2"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 4}, phy_time_unit::from_seconds(2.14265e-06), {0.9954, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{34, phy_time_unit::from_seconds(1.92286e-06), 37.2443}}}}, {"test_data/prach_detector_test_input17.dat", {839, 4, 1, 1, 4}}},
  {{{269, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("15.000000kHz"), 1}, phy_time_unit::from_seconds(7.53741e-08), {3.3314, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{10, phy_time_unit::from_seconds(0), 12.2107}}}}, {"test_data/prach_detector_test_input18.dat", {139, 2, 1, 1, 1}}},
  {{{762, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("15.000000kHz"), 2}, phy_time_unit::from_seconds(3.4892e-07), {1.8626, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{38, phy_time_unit::from_seconds(2.60417e-07), 27.2052}}}}, {"test_data/prach_detector_test_input19.dat", {139, 2, 1, 1, 2}}},
  {{{884, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("15.000000kHz"), 4}, phy_time_unit::from_seconds(5.01088e-07), {0.87204, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{24, phy_time_unit::from_seconds(5.20833e-07), 57.7059}}}}, {"test_data/prach_detector_test_input20.dat", {139, 2, 1, 1, 4}}},
  {{{909, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 11, 0, 64, to_ra_subcarrier_spacing("15.000000kHz"), 1}, phy_time_unit::from_seconds(2.89576e-07), {3.1198, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{46, phy_time_unit::from_seconds(3.747e-07), 4.4382}}}}, {"test_data/prach_detector_test_input21.dat", {139, 2, 1, 1, 1}}},
  {{{860, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 11, 0, 64, to_ra_subcarrier_spacing("15.000000kHz"), 2}, phy_time_unit::from_seconds(3.80335e-07), {1.7254, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{54, phy_time_unit::from_seconds(2.60417e-07), 27.8017}}}}, {"test_data/prach_detector_test_input22.dat", {139, 2, 1, 1, 2}}},
  {{{663, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 11, 0, 64, to_ra_subcarrier_spacing("15.000000kHz"), 4}, phy_time_unit::from_seconds(1.54359e-07), {0.96142, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{28, phy_time_unit::from_seconds(1.14284e-07), 257.9638}}}}, {"test_data/prach_detector_test_input23.dat", {139, 2, 1, 1, 4}}},
  {{{882, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("15.000000kHz"), 1}, phy_time_unit::from_seconds(1.88878e-07), {3.049, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{30, phy_time_unit::from_seconds(2.60417e-07), 13.8189}}}}, {"test_data/prach_detector_test_input24.dat", {139, 12, 1, 1, 1}}},
  {{{892, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("15.000000kHz"), 2}, phy_time_unit::from_seconds(2.48336e-07), {1.6622, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{1, phy_time_unit::from_seconds(2.60417e-07), 100.2025}}}}, {"test_data/prach_detector_test_input25.dat", {139, 12, 1, 1, 2}}},
  {{{336, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("15.000000kHz"), 4}, phy_time_unit::from_seconds(1.8366e-07), {1.0084, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{26, phy_time_unit::from_seconds(2.60417e-07), 44.9428}}}}, {"test_data/prach_detector_test_input26.dat", {139, 12, 1, 1, 4}}},
  {{{721, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 11, 0, 64, to_ra_subcarrier_spacing("15.000000kHz"), 1}, phy_time_unit::from_seconds(3.46008e-07), {3.1141, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{48, phy_time_unit::from_seconds(2.60417e-07), 22.8806}}}}, {"test_data/prach_detector_test_input27.dat", {139, 12, 1, 1, 1}}},
  {{{284, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 11, 0, 64, to_ra_subcarrier_spacing("15.000000kHz"), 2}, phy_time_unit::from_seconds(1.51704e-07), {1.746, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{43, phy_time_unit::from_seconds(9.36751e-08), 133.2069}}}}, {"test_data/prach_detector_test_input28.dat", {139, 12, 1, 1, 2}}},
  {{{878, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 11, 0, 64, to_ra_subcarrier_spacing("15.000000kHz"), 4}, phy_time_unit::from_seconds(1.90884e-07), {0.93393, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{55, phy_time_unit::from_seconds(9.36751e-08), 373.1459}}}}, {"test_data/prach_detector_test_input29.dat", {139, 12, 1, 1, 4}}},
  {{{940, to_prach_format_type("0"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 1}, phy_time_unit::from_seconds(3.92305e-06), {2.9047, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{19, phy_time_unit::from_seconds(3.90625e-06), 59.6046}}}}, {"test_data/prach_detector_test_input30.dat", {839, 1, 1, 1, 1}}},
  {{{423, to_prach_format_type("0"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 2}, phy_time_unit::from_seconds(3.4279e-06), {1.8551, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{42, phy_time_unit::from_seconds(3.125e-06), 27.0012}}}}, {"test_data/prach_detector_test_input31.dat", {839, 1, 1, 1, 2}}},
  {{{211, to_prach_format_type("0"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 4}, phy_time_unit::from_seconds(4.77557e-06), {1.015, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{63, phy_time_unit::from_seconds(4.6875e-06), 492.0505}}}}, {"test_data/prach_detector_test_input32.dat", {839, 1, 1, 1, 4}}},
  {{{417, to_prach_format_type("0"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 1}, phy_time_unit::from_seconds(4.70331e-06), {3.0997, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{17, phy_time_unit::from_seconds(4.47706e-06), 4.9539}}}}, {"test_data/prach_detector_test_input33.dat", {839, 1, 1, 1, 1}}},
  {{{563, to_prach_format_type("0"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 2}, phy_time_unit::from_seconds(1.81515e-06), {1.709, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{9, phy_time_unit::from_seconds(2.18638e-06), 2.4957}}}}, {"test_data/prach_detector_test_input34.dat", {839, 1, 1, 1, 2}}},
  {{{405, to_prach_format_type("0"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 4}, phy_time_unit::from_seconds(1.68315e-06), {0.95498, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{40, phy_time_unit::from_seconds(1.29712e-06), 4.9223}}}}, {"test_data/prach_detector_test_input35.dat", {839, 1, 1, 1, 4}}},
  {{{542, to_prach_format_type("1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 1}, phy_time_unit::from_seconds(3.02407e-06), {2.9802, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{56, phy_time_unit::from_seconds(3.125e-06), 78.1047}}}}, {"test_data/prach_detector_test_input36.dat", {839, 2, 1, 1, 1}}},
  {{{480, to_prach_format_type("1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 2}, phy_time_unit::from_seconds(5.09242e-06), {1.7313, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{63, phy_time_unit::from_seconds(4.6875e-06), 63.4309}}}}, {"test_data/prach_detector_test_input37.dat", {839, 2, 1, 1, 2}}},
  {{{167, to_prach_format_type("1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 4}, phy_time_unit::from_seconds(3.33323e-06), {0.93009, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{7, phy_time_unit::from_seconds(3.125e-06), 419.4244}}}}, {"test_data/prach_detector_test_input38.dat", {839, 2, 1, 1, 4}}},
  {{{318, to_prach_format_type("1"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 1}, phy_time_unit::from_seconds(2.51789e-06), {2.9888, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{14, phy_time_unit::from_seconds(2.44618e-06), 82.9174}}}}, {"test_data/prach_detector_test_input39.dat", {839, 2, 1, 1, 1}}},
  {{{148, to_prach_format_type("1"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 2}, phy_time_unit::from_seconds(4.85817e-06), {1.8239, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{12, phy_time_unit::from_seconds(4.99851e-06), 26.5783}}}}, {"test_data/prach_detector_test_input40.dat", {839, 2, 1, 1, 2}}},
  {{{134, to_prach_format_type("1"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 4}, phy_time_unit::from_seconds(3.45314e-06), {0.98064, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{10, phy_time_unit::from_seconds(3.64459e-06), 24.4122}}}}, {"test_data/prach_detector_test_input41.dat", {839, 2, 1, 1, 4}}},
  {{{784, to_prach_format_type("2"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 1}, phy_time_unit::from_seconds(1.78058e-06), {3.0944, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{32, phy_time_unit::from_seconds(1.5625e-06), 50.2402}}}}, {"test_data/prach_detector_test_input42.dat", {839, 4, 1, 1, 1}}},
  {{{134, to_prach_format_type("2"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 2}, phy_time_unit::from_seconds(5.96646e-06), {1.718, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{57, phy_time_unit::from_seconds(6.25e-06), 43.0227}}}}, {"test_data/prach_detector_test_input43.dat", {839, 4, 1, 1, 2}}},
  {{{826, to_prach_format_type("2"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 4}, phy_time_unit::from_seconds(3.16711e-06), {0.95947, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{61, phy_time_unit::from_seconds(3.125e-06), 2431.9438}}}}, {"test_data/prach_detector_test_input44.dat", {839, 4, 1, 1, 4}}},
  {{{1014, to_prach_format_type("2"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 1}, phy_time_unit::from_seconds(4.8839e-06), {2.9026, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{33, phy_time_unit::from_seconds(5.15215e-06), 3.5987}}}}, {"test_data/prach_detector_test_input45.dat", {839, 4, 1, 1, 1}}},
  {{{874, to_prach_format_type("2"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 2}, phy_time_unit::from_seconds(1.01676e-06), {1.6998, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{22, phy_time_unit::from_seconds(8.30602e-07), 17.2942}}}}, {"test_data/prach_detector_test_input46.dat", {839, 4, 1, 1, 2}}},
  {{{502, to_prach_format_type("2"), restricted_set_config::UNRESTRICTED, 1, 0, 64, to_ra_subcarrier_spacing("1.250000kHz"), 4}, phy_time_unit::from_seconds(4.85444e-06), {0.89345, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{30, phy_time_unit::from_seconds(4.68378e-06), 34.0405}}}}, {"test_data/prach_detector_test_input47.dat", {839, 4, 1, 1, 4}}},
  {{{960, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("30.000000kHz"), 1}, phy_time_unit::from_seconds(1.68939e-07), {2.8579, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{37, phy_time_unit::from_seconds(1.30208e-07), 11.0451}}}}, {"test_data/prach_detector_test_input48.dat", {139, 2, 1, 1, 1}}},
  {{{863, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("30.000000kHz"), 2}, phy_time_unit::from_seconds(9.63119e-08), {1.7037, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{13, phy_time_unit::from_seconds(0), 8.9557}}}}, {"test_data/prach_detector_test_input49.dat", {139, 2, 1, 1, 2}}},
  {{{335, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("30.000000kHz"), 4}, phy_time_unit::from_seconds(2.01395e-07), {0.89367, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{20, phy_time_unit::from_seconds(2.60417e-07), 17.2511}}}}, {"test_data/prach_detector_test_input50.dat", {139, 2, 1, 1, 4}}},
  {{{877, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 14, 0, 64, to_ra_subcarrier_spacing("30.000000kHz"), 1}, phy_time_unit::from_seconds(1.76636e-07), {3.0686, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{26, phy_time_unit::from_seconds(1.8735e-07), 10.1308}}}}, {"test_data/prach_detector_test_input51.dat", {139, 2, 1, 1, 1}}},
  {{{929, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 14, 0, 64, to_ra_subcarrier_spacing("30.000000kHz"), 2}, phy_time_unit::from_seconds(5.78441e-08), {1.8183, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{45, phy_time_unit::from_seconds(0), 29.6237}}}}, {"test_data/prach_detector_test_input52.dat", {139, 2, 1, 1, 2}}},
  {{{647, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 14, 0, 64, to_ra_subcarrier_spacing("30.000000kHz"), 4}, phy_time_unit::from_seconds(2.48151e-07), {0.90542, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{7, phy_time_unit::from_seconds(2.23883e-07), 254.3656}}}}, {"test_data/prach_detector_test_input53.dat", {139, 2, 1, 1, 4}}},
  {{{761, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("30.000000kHz"), 1}, phy_time_unit::from_seconds(2.06914e-07), {2.9984, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{33, phy_time_unit::from_seconds(1.30208e-07), 6.6053}}}}, {"test_data/prach_detector_test_input54.dat", {139, 12, 1, 1, 1}}},
  {{{707, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("30.000000kHz"), 2}, phy_time_unit::from_seconds(1.61625e-07), {1.7704, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{16, phy_time_unit::from_seconds(1.30208e-07), 480.9759}}}}, {"test_data/prach_detector_test_input55.dat", {139, 12, 1, 1, 2}}},
  {{{509, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("30.000000kHz"), 4}, phy_time_unit::from_seconds(4.9831e-08), {0.95787, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{26, phy_time_unit::from_seconds(0), 181.137}}}}, {"test_data/prach_detector_test_input56.dat", {139, 12, 1, 1, 4}}},
  {{{460, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 14, 0, 64, to_ra_subcarrier_spacing("30.000000kHz"), 1}, phy_time_unit::from_seconds(1.21563e-07), {2.9912, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{57, phy_time_unit::from_seconds(1.30208e-07), 34.2572}}}}, {"test_data/prach_detector_test_input57.dat", {139, 12, 1, 1, 1}}},
  {{{505, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 14, 0, 64, to_ra_subcarrier_spacing("30.000000kHz"), 2}, phy_time_unit::from_seconds(9.65488e-08), {1.739, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{53, phy_time_unit::from_seconds(5.71418e-08), 379.2634}}}}, {"test_data/prach_detector_test_input58.dat", {139, 12, 1, 1, 2}}},
  {{{517, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 14, 0, 64, to_ra_subcarrier_spacing("30.000000kHz"), 4}, phy_time_unit::from_seconds(1.29143e-07), {0.93407, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{15, phy_time_unit::from_seconds(1.30208e-07), 140.9862}}}}, {"test_data/prach_detector_test_input59.dat", {139, 12, 1, 1, 4}}},
  {{{798, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("120.000000kHz"), 1}, phy_time_unit::from_seconds(3.35495e-08), {2.7504, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{31, phy_time_unit::from_seconds(3.25521e-08), 21.4952}}}}, {"test_data/prach_detector_test_input60.dat", {139, 2, 1, 1, 1}}},
  {{{460, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("120.000000kHz"), 2}, phy_time_unit::from_seconds(4.00308e-08), {1.911, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{4, phy_time_unit::from_seconds(3.25521e-08), 75.1965}}}}, {"test_data/prach_detector_test_input61.dat", {139, 2, 1, 1, 2}}},
  {{{793, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("120.000000kHz"), 4}, phy_time_unit::from_seconds(3.44925e-08), {1.0355, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{9, phy_time_unit::from_seconds(3.25521e-08), 163.4914}}}}, {"test_data/prach_detector_test_input62.dat", {139, 2, 1, 1, 4}}},
  {{{334, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 14, 0, 64, to_ra_subcarrier_spacing("120.000000kHz"), 1}, phy_time_unit::from_seconds(1.11337e-08), {3.294, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{5, phy_time_unit::from_seconds(1.42854e-08), 26.7736}}}}, {"test_data/prach_detector_test_input63.dat", {139, 2, 1, 1, 1}}},
  {{{214, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 14, 0, 64, to_ra_subcarrier_spacing("120.000000kHz"), 2}, phy_time_unit::from_seconds(3.73789e-08), {1.7629, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{3, phy_time_unit::from_seconds(3.25521e-08), 89.5979}}}}, {"test_data/prach_detector_test_input64.dat", {139, 2, 1, 1, 2}}},
  {{{395, to_prach_format_type("A1"), restricted_set_config::UNRESTRICTED, 14, 0, 64, to_ra_subcarrier_spacing("120.000000kHz"), 4}, phy_time_unit::from_seconds(3.37439e-08), {0.92109, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{41, phy_time_unit::from_seconds(4.68375e-08), 14.2118}}}}, {"test_data/prach_detector_test_input65.dat", {139, 2, 1, 1, 4}}},
  {{{290, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("120.000000kHz"), 1}, phy_time_unit::from_seconds(3.40785e-08), {2.9826, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{53, phy_time_unit::from_seconds(3.25521e-08), 103.7172}}}}, {"test_data/prach_detector_test_input66.dat", {139, 12, 1, 1, 1}}},
  {{{872, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("120.000000kHz"), 2}, phy_time_unit::from_seconds(2.98104e-08), {1.7114, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{51, phy_time_unit::from_seconds(3.25521e-08), 43.294}}}}, {"test_data/prach_detector_test_input67.dat", {139, 12, 1, 1, 2}}},
  {{{968, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 0, 0, 64, to_ra_subcarrier_spacing("120.000000kHz"), 4}, phy_time_unit::from_seconds(6.03667e-08), {0.99849, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{61, phy_time_unit::from_seconds(6.51042e-08), 51.2591}}}}, {"test_data/prach_detector_test_input68.dat", {139, 12, 1, 1, 4}}},
  {{{920, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 14, 0, 64, to_ra_subcarrier_spacing("120.000000kHz"), 1}, phy_time_unit::from_seconds(5.7409e-08), {2.9599, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{18, phy_time_unit::from_seconds(6.51042e-08), 33.8799}}}}, {"test_data/prach_detector_test_input69.dat", {139, 12, 1, 1, 1}}},
  {{{941, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 14, 0, 64, to_ra_subcarrier_spacing("120.000000kHz"), 2}, phy_time_unit::from_seconds(5.12604e-08), {1.7432, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{55, phy_time_unit::from_seconds(5.59708e-08), 59.021}}}}, {"test_data/prach_detector_test_input70.dat", {139, 12, 1, 1, 2}}},
  {{{596, to_prach_format_type("B4"), restricted_set_config::UNRESTRICTED, 14, 0, 64, to_ra_subcarrier_spacing("120.000000kHz"), 4}, phy_time_unit::from_seconds(4.9215e-08), {0.91721, phy_time_unit::from_seconds(0.0), phy_time_unit::from_seconds(0.0), {{20, phy_time_unit::from_seconds(4.68375e-08), 659.6033}}}}, {"test_data/prach_detector_test_input71.dat", {139, 12, 1, 1, 4}}},
    // clang-format on
};

} // namespace srsran
